import { unlinkSync } from "fs"
import { sync } from "glob"

const files = sync("src/**/*.js.map")
files.forEach(file => {
  unlinkSync(file)
})

const files2 = sync("src/**/*.vue.js")
files2.forEach(file => {
  unlinkSync(file)
})

const files3 = sync("src/**/*.js")
files3.forEach(file => {
  unlinkSync(file)
})

console.log("*.js.map files deleted successfully!")
